package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;
import org.jsola.hr.entity.SalaryBillFieldsDO;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import static org.jsola.core.example.BaseExample.E_GMT_CREATE;
import static org.jsola.core.example.BaseExample.E_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_GMT_CREATE;
import static org.jsola.core.example.BaseExample.N_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.N_ID;
import static org.jsola.hr.example.SalaryBillExample.*;

/**
 * 工资条
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【工资条】详情展示对象")
@Data
public class SalaryBillVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private String id;

    @ApiModelProperty(notes = N_TABLE_ID, example = E_TABLE_ID)
    private String tableId;

    @ApiModelProperty(notes = N_EMP_IN_COMPANY, example = E_EMP_IN_COMPANY)
    private Boolean empInCompany;

    @ApiModelProperty(notes = N_EMP_ID, example = E_EMP_ID)
    private String empId;

    @ApiModelProperty(notes = N_YEAR, example = E_YEAR)
    private String year;

    @ApiModelProperty(notes = N_MONTH, example = E_MONTH)
    private String month;

    @ApiModelProperty(notes = N_SALARY_AMOUNT, example = E_SALARY_AMOUNT)
    private BigDecimal salaryAmount;

    @ApiModelProperty(notes = N_SALARY_REAL, example = E_SALARY_REAL)
    private BigDecimal salaryReal;

    @ApiModelProperty(notes = N_SEND_TYPE, example = E_SEND_TYPE)
    private Integer sendType;

    @ApiModelProperty(notes = N_SEND_STATUS, example = E_SEND_STATUS)
    private Boolean sendStatus;

    @ApiModelProperty(notes = N_READ_STATUS, example = E_READ_STATUS)
    private Boolean readStatus;

    @ApiModelProperty(notes = N_CHECK_STATUS, example = E_CHECK_STATUS)
    private Boolean checkStatus;

    @ApiModelProperty(notes = N_WITHDRAWN_STATUS, example = E_WITHDRAWN_STATUS)
    private Boolean withdrawnStatus;

    @ApiModelProperty(notes = N_SEND_TIME, example = E_SEND_TIME)
    private Date sendTime;

    @ApiModelProperty(notes = N_READ_TIME, example = E_READ_TIME)
    private Date readTime;

    @ApiModelProperty(notes = N_CHECK_TIME, example = E_CHECK_TIME)
    private Date checkTime;

    @ApiModelProperty(notes = N_WITHDRAWN_TIME, example = E_WITHDRAWN_TIME)
    private Date withdrawnTime;

    @ApiModelProperty(notes = N_PHONE_STATUS, example = E_PHONE_STATUS)
    private Boolean phoneStatus;

    @ApiModelProperty(notes = N_PHONE, example = E_PHONE)
    private String phone;

    @ApiModelProperty(notes = N_EMP_NAME, example = E_EMP_NAME)
    private String empName;

    @ApiModelProperty(notes = N_WECHAT_STATUS, example = E_WECHAT_STATUS)
    private Boolean wechatStatus;

    @ApiModelProperty(notes = N_EMP_NO, example = E_EMP_NO)
    private String empNo;

    @ApiModelProperty(notes = N_DEP_ID, example = E_DEP_ID)
    private String depId;

    @ApiModelProperty(notes = N_DEP_NAME, example = E_DEP_NAME)
    private String depName;

    @ApiModelProperty(notes = N_POSITION_ID, example = E_POSITION_ID)
    private String positionId;

    @ApiModelProperty(notes = N_POSITION_NAME, example = E_POSITION_NAME)
    private String positionName;

    @ApiModelProperty(notes = N_DEDUCTION, example = E_DEDUCTION)
    private BigDecimal deduction;

    @ApiModelProperty(notes = N_SALARY_BASIC, example = E_SALARY_BASIC)
    private BigDecimal salaryBasic;

    @ApiModelProperty(notes = N_EMP_SOC, example = E_EMP_SOC)
    private BigDecimal empSoc;

    @ApiModelProperty(notes = N_EMP_PF, example = E_EMP_PF)
    private BigDecimal empPf;

    @ApiModelProperty(notes = N_EMP_TAX, example = E_EMP_TAX)
    private BigDecimal empTax;

    @ApiModelProperty(notes = N_COMPANY_ID, example = E_COMPANY_ID)
    private String companyId;

    @ApiModelProperty(notes = N_SORT, example = E_SORT)
    private Integer sort;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;

    @ApiModelProperty(notes = N_SALARY_BILL_FIELDS_DO_LIST, example = E_SALARY_BILL_FIELDS_DO_LIST)
    private List<SalaryBillFieldsDO> salaryBillFieldsDOList;

    @ApiModelProperty(notes = N_AUTO_CHECK_DIFF_STR, example = E_AUTO_CHECK_DIFF_STR)
    private String autoCheckDiffStr;

    @ApiModelProperty(notes = "是否显示工资条为0或者空值")
    private Boolean showEmptyValue;

}

